<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Inpainting:  Fichier source de /home/r0ots/Prog/Master/m2/inpainting/include/Pixel.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Liste&nbsp;des&nbsp;fichiers</span></a></li>
    </ul>
  </div>
<h1>/home/r0ots/Prog/Master/m2/inpainting/include/Pixel.h</h1><a href="_pixel_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef PIXEL_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define PIXEL_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef byte</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">int</span> byte;
<a name="l00012"></a>00012 <span class="preprocessor">#endif</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span>
<a name="l00020"></a><a class="code" href="class_pixel.html">00020</a> <span class="keyword">class </span><a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a>
<a name="l00021"></a>00021 {
<a name="l00022"></a>00022 <span class="keyword">public</span> :
<a name="l00032"></a>00032         <a class="code" href="class_pixel.html#a54f24866708812238620c226ae199359" title="Constructeur.">Pixel</a>( byte r=0, byte v=0, byte b=0 );
<a name="l00040"></a>00040         <a class="code" href="class_pixel.html#a54f24866708812238620c226ae199359" title="Constructeur.">Pixel</a>(<span class="keyword">const</span> <a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a>&amp; p);
<a name="l00041"></a>00041 
<a name="l00049"></a><a class="code" href="class_pixel.html#aa9d438f91e132e8bbd3e48d5ec16d28d">00049</a>         byte <a class="code" href="class_pixel.html#aa9d438f91e132e8bbd3e48d5ec16d28d" title="Acceseur rouge.">getR</a>() { <span class="keywordflow">return</span> r; }
<a name="l00057"></a><a class="code" href="class_pixel.html#a5e6773020fe20befdf439375de63c37d">00057</a>         byte <a class="code" href="class_pixel.html#a5e6773020fe20befdf439375de63c37d" title="Acceseur vert.">getV</a>()  { <span class="keywordflow">return</span> v;  }
<a name="l00065"></a><a class="code" href="class_pixel.html#a38a664a5ff4212be27d12e9672674e52">00065</a>         byte <a class="code" href="class_pixel.html#a38a664a5ff4212be27d12e9672674e52" title="Acceseur bleu.">getB</a>()  { <span class="keywordflow">return</span> b;  }
<a name="l00066"></a>00066         
<a name="l00067"></a>00067         <a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a> &amp;operator+=(<span class="keyword">const</span> <a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a> &amp;);
<a name="l00068"></a>00068         <span class="keyword">friend</span> <a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a> operator*(<span class="keyword">const</span> <a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a>&amp;, <span class="keyword">const</span> <span class="keywordtype">double</span>&amp;);
<a name="l00069"></a>00069         <span class="keyword">friend</span> <a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a> operator+(<span class="keyword">const</span> <a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a>&amp;, <span class="keyword">const</span> <a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a>&amp;);
<a name="l00070"></a>00070         <span class="keyword">friend</span> <a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a> operator-(<span class="keyword">const</span> <a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a>&amp;, <span class="keyword">const</span> <a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a>&amp;);
<a name="l00071"></a>00071 
<a name="l00072"></a>00072 
<a name="l00073"></a>00073 
<a name="l00074"></a>00074         <span class="comment">//Pixel operator*(const float);</span>
<a name="l00075"></a>00075         
<a name="l00076"></a>00076 <span class="keyword">private</span>:
<a name="l00077"></a>00077         byte r; 
<a name="l00078"></a>00078         byte v; 
<a name="l00079"></a>00079         byte b; 
<a name="l00080"></a>00080 };
<a name="l00081"></a>00081 
<a name="l00082"></a>00082 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Généré le Sun Mar 14 17:21:45 2010 pour Inpainting par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
